<?php use_helper("Date") ?>

<div class="navigator body">

    <div class="grid_3"><p><?php echo link_to( "<strong>Поиск квартиры</strong>", '@lodging' ) ?></p></div>

    <div class="grid_19"><p><?php echo link_to( "<strong>Щелкино</strong>", '@homepage' ) ?> » <?php echo link_to( "Новости", '@newsblock' ) ?></p></div>

    <div class="grid_3 currency"><?php include_component( 'lodging', 'currency' ) ?></div>

    <div class="clear"></div>
</div>

<div class="grid_3 my_grid_3_3">

    <script type="text/javascript"><!--
    google_ad_client = "pub-9572295614921444";
    /* 120x240, создано 30.04.10 */
    google_ad_slot = "1853267014";
    google_ad_width = 120;
    google_ad_height = 240;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

</div>

<div class="grid_19">

    <?php if ( $news->count() ): ?>
        <p>&nbsp;</p>
        <?php foreach ( $news as $item ): ?>
            <p>
                <span class="news_date"><?php echo format_date( $item->getNewsDate() ) ?></span>
                <span class="news_title"><?php echo $item->getNewsName() ?></span>
            </p>
            <div class="text_text"><?php echo $item instanceof sfOutputEscaperObjectDecorator ? $item->unescape( $item->getNewsText() ) : $item->getNewsText() ?></div>
            <p>&nbsp;</p>
        <?php endforeach ?>
    <?php else: ?>
        <p>&nbsp;</p>
    <?php endif ?>

</div>

<div class="grid_3 my_grid_3_3">

    <script type="text/javascript"><!--
    google_ad_client = "pub-9572295614921444";
    /* 120x240, создано 30.04.10 */
    google_ad_slot = "1853267014";
    google_ad_width = 120;
    google_ad_height = 240;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

</div>

<div class="clear"></div>
